<%@ page contentType="text/html; charset=UTF-8" %>
<%@page import="cn.bopomo.dealer.base.common.CommonConstant"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-nested.tld" prefix="nested" %>
<html:html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
		<title></title>
	</head>
	<body>
		<TABLE width="95%" align="center" cellpadding="2" cellspacing="1" bgcolor="#FFFFFF" style="border:1px solid #56626d;font-size:12px">
		  <TR bgcolor="#FFFFFF">
		    <TD colspan="3" align="left" style="font-size:14px"><B>&nbsp;&nbsp;模块列表</B></TD>
		  </TR>
		  <TR bgcolor="#FFFFFF">
		    <TH width="5%" style="background:#46525d;text-align: center;">
		    	<span style="background:#46525d;color:#FFFFFF;text-align: center;">
		    		编号
				</span>
			</TH>
		    <TH width="15%" style="background:#46525d;text-align: center;">
		    	<span style="background:#46525d;color:#FFFFFF;text-align: center;">
		    		名称
				</span>
		    <TH width="10%" style="background:#46525d;text-align: center;">
		    	<span style="color:#FFFFFF">
		    		建立日期
		    	</span>
		    </TH>
		    <TH width="10%" style="background:#46525d;text-align: center;">
		    	<span style="color:#FFFFFF">
		    		操作
		    	</span>
		    </TH>
		  </TR>

			<%	String pageList=CommonConstant.KEY_MODULE_LIST_PAGE; 	%>
			<logic:notPresent name="<%=pageList%>">
			  	<TR bgcolor="#EEEEEE">
			    	<TD nowrap align="center" colspan="20" >没有找到相关的信息</TD>
				</TR>
			</logic:notPresent>
			<logic:present name="<%=pageList%>">
				<logic:iterate id="dl" indexId="ind" name="<%=pageList%>" property="list">
					<% if(ind.intValue()%2==0){%> 
						<TR bgcolor="#EEEEEE">
					<% } else { %>
       					<TR bgcolor="#DDDDDD">
					<% } %>
						    <TD nowrap align="center">
								<bean:write name="dl" property="mid" />
							</TD>
						    <TD nowrap align="center">
						    	<span style="color:#03c;font-weight:bold;">
									<bean:write name="dl" property="moduleName" />
								</span>
							</TD>
						    <TD nowrap align="center">
								<bean:write name="dl" property="addDate" format="yyyy-MM-dd"/>
						    </TD>
						    <TD nowrap align="center">
					    		<html:link page="/admin/showModule.do" paramId="mid" paramName="dl" paramProperty="mid">
									权限管理
								</html:link>
								&nbsp;&nbsp;&nbsp;<html:link page="/admin/showGroups.do" paramId="mid" paramName="dl" paramProperty="mid">
									权限组管理
								</html:link>
						    </TD>
				  </TR>
				</logic:iterate>	
				
						<!--#################-----BEGIN Pagination-----#################-->
 							<bean:write name="<%=pageList%>" property="pageStr" filter="false" />
						<!--#################-----END Pagination-----#################-->
						
			</logic:present>
		</TABLE>
		
		
		
	</body>
</html:html>
